From 3d4228c3a92376a3beb570c35ed916597dd2bb82 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sat, 18 Nov 2000 14:39:14 +0000 Subject: [PATCH] (message_log_check_duplicate): Let "..."-detection match lines that *end* with "..." too (that's the most common case!). --- src/xdisp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index b7343c47caa..0fccd379492 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -5352,8 +5352,7 @@ message_log_check_duplicate (prev_bol, prev_bol_byte, this_bol, this_bol_byte) for (i = 0; i < len; i++) { - if (i >= 3 && p1[i-3] == '.' && p1[i-2] == '.' && p1[i-1] == '.' - && p1[i] != '\n') + if (i >= 3 && p1[i-3] == '.' && p1[i-2] == '.' && p1[i-1] == '.') seen_dots = 1; if (p1[i] != p2[i]) return seen_dots; -- 2.30.2